<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.mytrip.model.Userinfo"
	import="com.mytrip.webapp.filter.CtxSessionBag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>出发吧</title>
		<jsp:include page="/common/include_js.jsp" />
		<link rel="stylesheet" type="text/css" media="screen"
			href="<%=request.getContextPath()%>/front/css/css.css" />
	</head>
	<%
		String t = request.getParameter("t") != null ? request
				.getParameter("t") : "1";
		Userinfo userinfo = (Userinfo) CtxSessionBag.getSessionBag()
				.getUserinfo();
	%>
	<body>
		<div id="wrap">
			<jsp:include page="include/top.jsp">
				<jsp:param name="t" value="5" />
			</jsp:include>
			
			<div id="main" class="mbg clearfix">
				<jsp:include page="include/myDetail-left.jsp">
					<jsp:param name="t" value="5" />
				</jsp:include>
				<div class="fRt rightBar2">
					<div class="breadcrumb">
						您现在的位置：
						<a href="">个人中心</a> > 地址薄管理
					</div>
					<div class="title">
						<div class="tlText">
							新增地址
						</div>
					</div>
					<form action="<%=request.getContextPath() %>/front/myDetail!updateUser.action" method="post" id="subForm">
					<div class="editinfo ">
						<p>
							<b>收件人：</b>
							<input type="password" name="opwd" value="" class=" Proinput" />
						</p>
						<p>
							<b>手机：</b>
							<input type="password" name="opwd" value="" class=" Proinput" />
						</p>
						<p>
							<b>邮箱：</b>
							<input type="password" name="opwd" value="" class=" Proinput" />
						</p>
						<p>
							<b>详细地址：</b>
							<input type="password" name="npwd" value="" class=" Proinput" />
						<p>
							<b>邮政编码：</b>
							<input type="password" name="cnpwd" value="" class=" Proinput" />
						</p>
						<p>
							<b></b>
							<button class="primary" type="button" onclick="javascript:subForm();">保存</button>
						</p>
					</div>
					</form>
				</div>
			</div>
		</div>
		<jsp:include page="include/bottom.jsp" />
		</div>
		
<script type="text/javascript">

var subForm=function(){
	document.getElementById('subForm').submit();
}

</script>		
	</body>
</html>
